Release 10.1A: OpenEdge Development:
Open Client Introduction and Programming
.NET tab
The .NET tab is enabled if .NET is selected in the Client Proxy to Generate field on the General tab.
The .NET tab has the following fields for setting .NET proxy options:
- Namespace — Enter the namespace to use as the root for generating the classes in a .NET proxy.
- Compiler — These radio buttons allow you to specify one of the following compilers to use for generating a .NET proxy:
- Compiler Command — If Default csc is selected in the Compiler field, the Compiler Command field is read-only and displays the appropriate compiler command.
If Custom is selected in the Compiler field, you can modify the Compiler Command setting as appropriate for your compiler choice. You must specify the full path or a path that is relative to the system path for the compiler executable.
- Compiler Options — You can set compiler options for the C# compiler.
- XSD Generator — This is the location of the
xsd.exetool, which is used in the generation of a strongly typed ADO.NETDataSetorDataTable. If Default csc is selected in the Compiler field, the XSD Generator field is read-only and displays the appropriate command.If Custom is selected in the Compiler field, you can modify the XSD Generator setting as appropriate. You must specify the full path or a path that is relative to the system path for the XSD executable.
- AssemblyInfo — General information about a .NET assembly is controlled through this set of attributes: Title, Version, Description, Company, Product, Delay Sign, and Key File. You can change the attribute values to modify the information associated with an assembly. This information is critical to uniquely identify the proxy.
Version has the following form:
You can specify all Version values or accept the defaults for build number and/or revision by using the * (asterisk) wildcard. For example:
1.2.3.4 (specify all values)
1.2.*.4 (accept default value forbuild)
1.2.3.* (accept default value forrevision)
1.2.* (accept default values forbuildandrevision)If Use Strong-named Runtime is checked, ProxyGen generates the proxy to use the strong-named Open Client Runtime assemblies. By default, theproxy uses the signed-only Open Client Runtime assemblies. By default, this is unchecked. For more information on these .NET runtime assembly options, see the "Open Client interface generation" section.
If Delay Sign is checked, the proxy is strong-named: ProxyGen uses delayed signing along with the public key file to strong-name the proxy assembly. This means the strong name signing process must be completed outside of ProxyGen on a system where the key pair file is located (normally a secure system). For more information, see the documentation on Microsoft’s Strong Name tool (
sn.exe). By default, this is unchecked.Key File is the public key file used for delayed strong name signing. This field is enabled only if Delay Sign is checked.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |